package com.mobilepoc.jersey.model;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class TransactionWrapper {
	
	private int numberOfAvailableTransactions;
	private List<Transaction> transactions;
	
	
	public TransactionWrapper() {
		super();
	}

	public TransactionWrapper(int numberOfAvailableTransactions,
			List<Transaction> transactions) {
		super();
		this.numberOfAvailableTransactions = numberOfAvailableTransactions;
		this.transactions = transactions;
	}
	
	public int getNumberOfAvailableTransactions() {
		return numberOfAvailableTransactions;
	}
	public void setNumberOfAvailableTransactions(int numberOfAvailableTransactions) {
		this.numberOfAvailableTransactions = numberOfAvailableTransactions;
	}
	public List<Transaction> getTransactions() {
		return transactions;
	}
	public void setTransactions(List<Transaction> transactions) {
		this.transactions = transactions;
	}
}
